<?php

namespace App\SubApps\Account\Controllers;

use App\Abstracts\Controllers\AbstractControllerAuthUsers;
use App\SubApps\Account\Entities\UsersEntity;
use Illuminate\Http\Request;


class UsersController extends AbstractControllerAuthUsers
{

    protected function entity()
    {
        return new UsersEntity();
    }




    protected function alterModelSaveRedirect($model, Request $request)
    {
        return comResponse()->redirect(route('web.users.console.view',['id'=>$model->id]));
    }
}
